import { resultBasic } from '../utils';

export default [
	{
		url: '/dev-api/getRouter',
		method: 'post',
		response: (config) => {
			console.log(config);
			return {
				...resultBasic,
				data: [
					{
						path: 'system',
						hideMenu: 0,
						empresaId: '@id',
						icon: 'system',
						menuId: '6396e93aa92aee54c553a83e',
						frameType: 0,
						menuName: '系统配置',
						menuType: 0,
						perms: 'test',
						sort: '2',
						parentId: '0',
					},
					{
						path: 'role',
						hideMenu: 0,
						component: 'scene-page/system/role',
						empresaId: '@id',
						menuId: '63970490a92aec8776a6ce06',
						frameType: 0,
						menuName: '角色管理',
						menuType: 1,
						perms: 'test',
						sort: '1',
						parentId: '6396e93aa92aee54c553a83e',
					},
				],
			};
		},
	},
];
